package com.rfid.db.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Generated;
/**顺架的时候需要记录扫描的层标与首书以及尾书，后面同步时上传到服务端*/
@Entity
public class ShunjiaLevel {

    /**
     * uid : E004015062CFC999
     * bookplace :  SK02B0201
     * placename : 中心校区图书馆101室07排B面04节06层
     * startindex :  TU241/H1
     * endindex :  TU241/H151
     * wkno  : rfid
     *  optime  : 2020/11/04 08:58:29
     * library :  RFIDLIB
     */

    @Id(autoincrement = true)
    @Property(nameInDb="id")
    Long id;
    private String uid;
    private String shelf;
    @Property(nameInDb="placeName")
    String placeName;
    @Property(nameInDb="startIndex")
    String startIndex;
    @Property(nameInDb="endIndex")
    String endIndex;
    private String user;
    private String optime;
    private String library;

    @Generated(hash = 1426582874)
    public ShunjiaLevel(Long id, String uid, String shelf, String placeName,
            String startIndex, String endIndex, String user, String optime,
            String library) {
        this.id = id;
        this.uid = uid;
        this.shelf = shelf;
        this.placeName = placeName;
        this.startIndex = startIndex;
        this.endIndex = endIndex;
        this.user = user;
        this.optime = optime;
        this.library = library;
    }

    @Generated(hash = 1075641534)
    public ShunjiaLevel() {
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getShelf() {
        return this.shelf;
    }

    public void setShelf(String shelf) {
        this.shelf = shelf;
    }

    public String getPlaceName() {
        return this.placeName;
    }

    public void setPlaceName(String placeName) {
        this.placeName = placeName;
    }

    public String getStartIndex() {
        return this.startIndex;
    }

    public void setStartIndex(String startIndex) {
        this.startIndex = startIndex;
    }

    public String getEndIndex() {
        return this.endIndex;
    }

    public void setEndIndex(String endIndex) {
        this.endIndex = endIndex;
    }

    public String getUser() {
        return this.user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getOptime() {
        return this.optime;
    }

    public void setOptime(String optime) {
        this.optime = optime;
    }

    public String getLibrary() {
        return this.library;
    }

    public void setLibrary(String library) {
        this.library = library;
    }
}
